package com.zhuangwei.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 方式二：spring boot的属性注入
 * @author LeviCoder
 * @create 2019-03-09 12:41
 */
@Data
//@ConfigurationProperties(prefix = "jdbc")
public class JdbcProperties {

    private String url;

    private String username;

    private String password;

    private String driverClassName;

}
